package com.kim.authorization.server.mapper;

import com.kim.oauth.common.model.Authority;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户权限Mapper
 */
@Repository
public interface AuthorityMapper {

    /**
     * 按角色id查询权限集合
     * @param roleId 角色id
     */
    List<Authority> selByRoleId(Long roleId);
}